/******************************************************************
 *
 *    tenant, Powered By uyun.cn.
 *
 *    Copyright (c) 2001-2020
 *    https://uyun.cn
 *
 *    Package:     wzg.com.joinandinterrupted
 *
 *    Filename:    RunTest
 *
 *    Description: (用一句话描述该文件做什么)
 *
 *    Copyright:   Copyright (c) 2001-2020
 *
 *    Company:     uyun.cn
 *
 *    @author: 王志刚
 *
 *    @version: 1.0.0
 *
 *    Create at:   2018-01-08 下午4:18
 *
 *    Revision:
 *
 *    2018-01-08 下午4:18
 *        - first revision
 *
 *****************************************************************/
package wzg.com.joinandinterrupted;

/**
 * RunTest(这里用一句话描述这个类的作用)
 *
 * @author wangzg
 * @version 1.0.0
 * @create 2018-01-08 下午4:18
 */
public class RunTest {
    public static void main(String[] args) throws InterruptedException {
        RunA a = new RunA();
        RunB b = new RunB(a);
        b.start();
        Thread.sleep(500);
        b.interrupt();
    }

}
